
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no"/>
    <title>P3D K线</title>
</head>
    <!-- <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootswatch/4.0.0/slate/bootstrap.min.css"> -->
    <!-- <link rel="stylesheet" href="css/3.main.css"> -->
<link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet"/>
    <script src="https://cdn.bootcss.com/jquery/1.12.4/jquery.min.js"></script>
<body>
<div class="container">
<ul class="nav nav-tabs">
  <li role="presentation"><a href="index.html">解毒神器</a></li>
  <li role="presentation" class="active"><a href="addr.html">收益计算</a></li>
</ul>
<br>



        <div class="card text-white mb-3">
            <div class="card-body">

                <div class="row mb-2">
                    <div class="col-sm-3">
                        <div class="card text-white mb-3">
                            <div class="card-body">
                                <div class="card-title">
                                    ETH Balance
                                </div>
                                <p id="frontBalance" class="card-subtitle text-info font-weight-bold">52243.437784783 ETH</p>
                                <p class="mb-0"><span id="balance24" class="small"></span> <span class="small text-muted tm-0">in 24 hours</span></p>
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-3">
                        <div class="card text-white mb-3">
                            <div class="card-body">
                                <div class="card-title">
                                    Buy Price
                                </div>
                                <p id="frontBuy" class="card-subtitle text-info font-weight-bold">0.033557678 ETH</p>
                                <p class="mb-0"><span id="buy24" class="small"></span> <span class="small text-muted tm-0">in 24 hours</span></p>
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-3">
                        <div class="card text-white mb-3">
                            <div class="card-body">
                                <div class="card-title">
                                    Sell Price
                                </div>
                                <p id="frontSell" class="card-subtitle text-info font-weight-bold">0.027456282 ETH</p>
                                <p class="mb-0"><span id="sell24" class="small"></span> <span class="small text-muted tm-0">in 24 hours</span></p>
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-3">
                        <div class="card text-white mb-3">
                            <div class="card-body">
                                <div class="card-title">
                                    P3D Supply
                                </div>
                                <p id="frontSupply" class="card-subtitle text-info font-weight-bold">3050473.3257604 P3D</p>
                                <p class="mb-0"><span id="supply24" class="small"></span> <span class="small text-muted tm-0">in 24 hours</span></p>
                            </div>
                        </div>
                    </div>
                </div>

                <div style="margin: auto; margin-bottom: 30px;">
                <form>
                    <button type="button" class="btn btn-primary" onClick="c='eth-balance-'; makeUrl();">Balance</button>
                    <button type="button" class="btn btn-primary" onClick="c='buy-'; makeUrl();">Buy</button>
                    <button type="button" class="btn btn-primary" onClick="c='sell-'; makeUrl();">Sell</button>
                    <button type="button" class="btn btn-primary" onClick="c='supply-'; makeUrl();">Supply</button>
                </form>
                </div>

                <div id="chart_div" class="text-center"></div>

                <div style="margin-top: 20px;">
                <div id="updateFeedback" class="text-info mt-3 small text-center"></div>
                <form>
                    <button type="button" id="bt1" class="btn btn-primary" onClick="t='1w'; makeUrl();">1w</button>
                    <button type="button" id="bt2" class="btn btn-primary" onClick="t='1d'; makeUrl();">1d</button>
                    <button type="button" id="bt3" class="btn btn-primary" onClick="t='6h'; makeUrl();">6h</button>
                    <button type="button" id="bt4" class="btn btn-primary" onClick="t='4h'; makeUrl();">4h</button>
                    <button type="button" id="bt5" class="btn btn-primary" onClick="t='1h'; makeUrl();">1h</button>
                    <button type="button" id="bt6" class="btn btn-primary" onClick="t='15m'; makeUrl();">15m</button>
                    <button type="button" id="bt7" class="btn btn-primary" onClick="t='5m'; makeUrl();">5m</button>
                    <button type="button" id="bt8" class="btn btn-primary" onClick="t='1m'; makeUrl();">1m</button>
                </form>
                </div>


            </div>
        </div>



</div>

<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
<script src="https://cdn.jsdelivr.net/npm/js-cookie@2/src/js.cookie.min.js"></script>
<script type="text/javascript" src="3.moment.min.js"></script>
<script type="text/javascript" src="3.main.js"></script>
<script>loadGraph();</script>

<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>


</body>
</html>